﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="AuthorityAdd.aspx.cs" Inherits="Web.Admin.AuthorityAdd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="widget am-cf">
        <div class="widget-head am-cf">
            <div class="widget-title am-fl">权限添加</div>
            <div class="widget-function am-fr">
                <a href="javascript:;" class="am-icon-cog"></a>
            </div>
        </div>
        <div class="widget-body am-fr">

            <div class="am-form tpl-form-line-form">
                <div class="am-form-group">
                    <label for="user-name" class="am-u-sm-3 am-form-label">名称 <span class="tpl-form-line-small-title">名称</span></label>
                    <div class="am-u-sm-9">  
                           <asp:TextBox ID="TextBox_name" runat="server"  placeholder="请输入名称" CssClass="tpl-form-input"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="TextBox_name">权限名称必填</asp:RequiredFieldValidator>权限标名称。</small>
                    </div>
                </div>
                <!--
                <div class="am-form-group">
                    <label for="user-email" class="am-u-sm-3 am-form-label">发布时间 <span class="tpl-form-line-small-title">Time</span></label>
                    <div class="am-u-sm-9">
                        <input type="text" class="am-form-field tpl-form-no-bg" placeholder="发布时间" data-am-datepicker="" readonly="">
                        <small>发布时间为必填</small>
                    </div>
                </div>

                <div class="am-form-group">
                    <label for="user-phone" class="am-u-sm-3 am-form-label">作者 <span class="tpl-form-line-small-title">Author</span></label>
                    <div class="am-u-sm-9">
                        <select data-am-selected="{searchBox: 1}" style="display: none;">
                            <option value="a">-The.CC</option>
                            <option value="b">夕风色</option>
                            <option value="o">Orange</option>
                        </select><div class="am-selected am-dropdown " id="am-selected-q9h5l" data-am-dropdown="">
                            <button type="button" class="am-selected-btn am-btn am-dropdown-toggle am-btn-default"><span class="am-selected-status am-fl">-The.CC</span>    <i class="am-selected-icon am-icon-caret-down"></i></button>
                            <div class="am-selected-content am-dropdown-content">
                                <h2 class="am-selected-header"><span class="am-icon-chevron-left">返回</span></h2>
                                <div class="am-selected-search">
                                    <input autocomplete="off" class="am-form-field am-input-sm">
                                </div>
                                <ul class="am-selected-list">
                                    <li class="am-checked" data-index="0" data-group="0" data-value="a"><span class="am-selected-text">-The.CC</span>         <i class="am-icon-check"></i></li>
                                    <li class="" data-index="1" data-group="0" data-value="b"><span class="am-selected-text">夕风色</span>         <i class="am-icon-check"></i></li>
                                    <li class="" data-index="2" data-group="0" data-value="o"><span class="am-selected-text">Orange</span>         <i class="am-icon-check"></i></li>
                                </ul>
                                <div class="am-selected-hint"></div>
                            </div>
                        </div>

                    </div>
                </div>
                -->
                <div class="am-form-group">
                    <label class="am-u-sm-3 am-form-label">权限码 <span class="tpl-form-line-small-title">权限码</span></label>
                    <div class="am-u-sm-9">
                      <asp:TextBox ID="TextBox_Code" runat="server"  placeholder="请输入权限码" CssClass="tpl-form-input"></asp:TextBox>
                    </div>
                </div>
                
                <!--
                <div class="am-form-group">
                    <label for="user-weibo" class="am-u-sm-3 am-form-label">封面图 <span class="tpl-form-line-small-title">Images</span></label>
                    <div class="am-u-sm-9">
                        <div class="am-form-group am-form-file">
                            <div class="tpl-form-file-img">
                                <img src="assets/img/a5.png" alt="">
                            </div>
                            <button type="button" class="am-btn am-btn-danger am-btn-sm">
                                <i class="am-icon-cloud-upload"></i>添加封面图片</button>
                            <input id="doc-form-file" type="file" multiple="">
                        </div>

                    </div>
                </div>

                <div class="am-form-group">
                    <label for="user-weibo" class="am-u-sm-3 am-form-label">添加分类 <span class="tpl-form-line-small-title">Type</span></label>
                    <div class="am-u-sm-9">
                        <input type="text" id="user-weibo" placeholder="请添加分类用点号隔开">
                        <div>
                        </div>
                    </div>
                </div>

                <div class="am-form-group">
                    <label for="user-intro" class="am-u-sm-3 am-form-label">隐藏文章</label>
                    <div class="am-u-sm-9">
                        <div class="tpl-switch">
                            <input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" checked="">
                            <div class="tpl-switch-btn-view">
                                <div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>

                <div class="am-form-group">
                    <label for="user-intro" class="am-u-sm-3 am-form-label">文章内容</label>
                    <div class="am-u-sm-9">
                        <textarea class="" rows="10" id="user-intro" placeholder="请输入文章内容"></textarea>
                    </div>
                </div>
                -->
                <div class="am-form-group">
                    <div class="am-u-sm-9 am-u-sm-push-3">
                        <asp:Button ID="Button1" runat="server" Text="提交" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success " OnClick="Button1_Click"/>
                    
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
